package se.wobbia.android.blog;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class MainPage extends Activity {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.mainpage);
		Button startPhotoPageBtn = (Button) findViewById(R.id.startBlogPageBtn);
		startPhotoPageBtn.setOnClickListener(new OnClickListener() {
			public void onClick(View v) {
				Intent i = new Intent(MainPage.this, UploadPage.class);
				startActivity(i);
			}
		});
	}

}
